package com.service.role;

import com.dao.role.RoleMapper;
import com.pojo.Role;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RoleService {

    List<Role> list();

    int add(Role role);

    Role selectId(int id);

    int update(Role role);

    int delete(int id);
}
